package com.kgc.crowd.distributioncrowdcommon.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 项目名：distribution-crowd-parent
 * 创建人：Junyizm
 * 创建时间：2020/4/14-10:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TagVO {
    private Integer id;
    private Integer pid;
    private String name;
    private List<TagVO> childrens = new ArrayList<>();

    public TagVO(Integer id,Integer pid,String name){
        this.id = id;
        this.pid = pid;
        this.name = name;
    }
}
